package com.itheima.service.db;

import com.itheima.domain.SmsCoupon;
import com.itheima.vo.PageBeanVo;

public interface SmsCouponService {

    //分页查询
    PageBeanVo findByPage(Integer pageNum, Integer pageSize,String name,Integer type);

    //根据id查询
    SmsCoupon findById(Long couponId);

    //修改
    void updateById(SmsCoupon smsCoupon);

    //删除
    void deleteById(Long id);

    //新增
    void save(SmsCoupon smsCoupon);
}
